package com.fen.di;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Service;

/**
 * @description: 需要被注入的Bean
 * @author: lrf
 * @create: 2019-09-02
 **/
@Data
@Service
public class DemoService {

    @Value("其他类的属性")
    private String another;
}
